//
//  JLikeView.h
//  HeadIndustry
//
//  Created by jun on 2017/8/31.
//  Copyright © 2017年 jun. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^RefreshCellBlock)(NSInteger currentPage);
typedef void(^CellSelectBlock)(JProductDetailModel *selModel);

// 猜你喜欢 View
@interface JLikeView : UIView

@property (nonatomic, assign) BOOL isHeadView;
@property (nonatomic , strong) JGetPageModel *pageModel;
@property (nonatomic, strong) UICollectionView *collectView;
@property (nonatomic, strong) CellSelectBlock cellSelectBlock;
@property (nonatomic, strong) RefreshCellBlock refreshCellBlock;

@property (nonatomic, strong) NSArray *dataArr;

- (instancetype)initWithFrame:(CGRect)frame isHeadView:(BOOL)isHead;
- (CGFloat)getViewHeight;

@end
